<?php if ($sf_user->hasFlash('save')){
?>		
			<div id="notification" class="nNote nSuccess hideit" onclick="$('#notification').hide('slow')" style="margin-top: 40px;">
                <p><strong>SUCCESS: </strong>Listings <?php echo $sf_user->getFlash('save') ?></p>
         </div>

<?php 
}?>

<div class="widget" id="template_div">
	<?php include_partial('template', array('form' => $form,'categories' => $categories)) ?>
</div>

<div id="error_msg" class="error_msg" style="clear:both; display: none; cursor:pointer;" onclick="$(this).hide('slow')">
		<div id="msg_text" ></div>
	</div>


<div class="table" id="table">
	<?php include_partial('table', array('templates' => $templates)) ?>
</div>    

